import Vue from 'vue';
import {
    Button,
    Menu,
    Submenu,
    MenuItem,
    MenuItemGroup,
    Row,
    Col,
    Input,
    Pagination,
    Table,
    TableColumn,
    MessageBox,
    Message,
    Select,
    Option,
    CheckboxButton,
    Form,
    FormItem,
    Upload,
    DatePicker,
    TimeSelect,
    Radio,
    RadioGroup,
    Checkbox,
    CheckboxGroup,
    Switch,
    TimePicker,
    Cascader,
    Tooltip,
    Tag
} from 'element-ui';

Vue.use(Input)
Vue.use(Button)
Vue.use(Menu)
Vue.use(Submenu)
Vue.use(MenuItem)
Vue.use(MenuItemGroup)
Vue.use(Row)
Vue.use(Col)
Vue.use(Pagination)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Upload)
Vue.use(CheckboxButton)
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Select);
Vue.use(Option);
Vue.use(DatePicker);
Vue.use(TimeSelect);
Vue.use(Radio);
Vue.use(RadioGroup);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(Switch);
Vue.use(TimePicker);
Vue.use(Cascader);
Vue.use(Tooltip)
Vue.use(Tag)


Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$message = Message;
Vue.prototype.$prompt = MessageBox.prompt;
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$alert = MessageBox.alert;

